<#include "common/header.html"/>

    <div class="wrapper wrapper-content animated fadeInUp">
        <div class="row">
            <div class="col-sm-12">

                <div class="ibox">
                    <div class="ibox-title">
                        <h5>角色列表</h5>
                        <div class="ibox-tools">
                            <a href="/role/roleadd" class="btn btn-primary btn-xs">添加角色</a>
                        </div>
                    </div>
                    <div class="ibox-content">
                            <table class="table table-hover">
                                <tbody>
                                	<tr>
                                		<th>角色编码</th>
                                		<th>角色名称</th>
                                		<th width="15%">操作</th>
                                	</tr>
                                    <#list roleList as role>
                                    <tr>
										<td>${role.roleCode}</td>
										<td>${role.roleName}</td>
                                        <td>
                                            <a href="get?id=${role.id}" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                            <a href="del?id=${user.id}" class="btn btn-white btn-sm del"><i class="fa fa-pencil"></i> 删除 </a>
                                        </td>
                                    </tr>
                                    <#else>
                                    		<tr>
                                    			<td colspan="3">无结果</td>
                                    		</tr>
                                    </#list>
                                    </tbody>
                                </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
	<#include "common/footer.html"/>
